﻿using System;
namespace fanli.Model
{
	/// <summary>
	/// 帮助类别实体类：fanli_helpcata 。
	/// </summary>
	[Serializable]
	public class fanli_helpcata
	{
		public fanli_helpcata()
		{}

		#region Model
		private int _id; //id
		private string _cataname; //类别名称
		private string _about; //说明
		private int _sortid; //排序


        /// <summary>
		/// id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
        /// <summary>
		/// 类别名称
		/// </summary>
		public string cataname
		{
			set{ _cataname=value;}
			get{return _cataname;}
		}
        /// <summary>
		/// 说明
		/// </summary>
		public string about
		{
			set{ _about=value;}
			get{return _about;}
		}
        /// <summary>
		/// 排序
		/// </summary>
		public int sortid
		{
			set{ _sortid=value;}
			get{return _sortid;}
		}
		#endregion Model

		#region txt document
		/*
帮助类别,helpcata
id,类别名称,说明,排序
id,cataname,about,sortid
i,c20,c500,i

--------------------------
-- 创建表[帮助类别]开始: 
-- alter table  [fanli_helpcata] add
-- IF EXISTS (SELECT 1 FROM sysobjects WHERE xtype='u' AND name='fanli_helpcata') drop table fanli_helpcata
  CREATE TABLE [fanli_helpcata] (
	 [id] integer IDENTITY (1, 1) PRIMARY KEY NOT NULL ,
	 [cataname] [varchar] (20),
	 [about] [varchar] (500),
	 [sortid] int
  )

 exec sp_addextendedproperty N'MS_Description',N'帮助类别 ',N'user',N'dbo',N'table',N'fanli_helpcata', NULL, NULL
 exec sp_addextendedproperty N'MS_Description',N'id',N'user',N'dbo',N'table',N'fanli_helpcata',N'column',N'id'
 exec sp_addextendedproperty N'MS_Description',N'类别名称',N'user',N'dbo',N'table',N'fanli_helpcata',N'column',N'cataname'
 exec sp_addextendedproperty N'MS_Description',N'说明',N'user',N'dbo',N'table',N'fanli_helpcata',N'column',N'about'
 exec sp_addextendedproperty N'MS_Description',N'排序',N'user',N'dbo',N'table',N'fanli_helpcata',N'column',N'sortid'

-- 创建表[帮助类别]结束。 
--------------------------

		*/
		#endregion document
	}
}

